package com.huixuebao.settle.service.rpc;

import com.huixuebao.settle.dto.rpc.CourseDTO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(name = "insure")
public interface CourseService {

    @GetMapping("/course/info")
    CourseDTO getCourse(@RequestParam("id") String id);

}
